#coding=utf-8

class MysqlInstance():
    def __init__(self, id,mysql_host,mysql_port,mysql_comment,manage_user,manage_password,is_master,group_id,master_id):
        self.id = id
        self.mysql_host = mysql_host
        self.mysql_port = mysql_port
        self.mysql_comment = mysql_comment
        self.manage_user = manage_user
        self.manage_password = manage_password
        self.is_master = is_master
        self.group_id = group_id
        self.master_id = master_id


class MysqlGroup():
    def __init__(self, id,group_name,sort_id):
        self.id = id
        self.group_name = group_name
        self.sort_id = sort_id
